﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace thinger.VisionDemo
{
    public class StanMain
    {
        public const int IMAGE_WIDTH = 4096;
        public const int IMAGE_HEIGHT = 3000;
        public event EventHandler OnImageChanged;
        public event EventHandler OnSketchChanged;
        //public event EventHandler<ErrListEventArgs> OnRejuding;
        //public event EventHandler<WorkModeEventArgs> OnWorkModeChanged;
        //public event EventHandler<ResultEventArgs> OnInspectFinished;
        //
        private static StanMain stanMain;
        public static StanMain stanmain
        {
            get
            {
                //if (stanMain == null)
                //{
                //    lock (instanceLock)
                //    {
                //        if (instance == null)
                //        {
                //            instance = new StaInspect();
                //        }
                //    }
                //}
                return stanMain;
            }
        }


    }
}
